home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 011 / batch.arc / CURSON.ASM < prev    next >
Encoding:
Assembly Source File  |  1986-01-04  |  768 b   |  59 lines

  1.  
  2. ;
  3.         page    60,132
  4.         title    Turn Cursor On
  5. ;
  6. ;    Author: Marty Prahl
  7. ;    Date:   10-Dec-1984
  8. ;    Rev:    1.0
  9. ;
  10. ;    Copyright (c) 1984 by Marty Prahl
  11. ;
  12. ;    Abstract:
  13. ;
  14. ;    Calling Sequence:
  15. ;
  16. ;        A>CURSON
  17. ;
  18. ;
  19. ;----------------------------------------------------------------------
  20. ;
  21. ;    Cursor On  
  22. ;
  23. ;----------------------------------------------------------------------
  24. ;
  25. code_seg    segment
  26.         assume    cs:code_seg,ds:code_seg
  27.  
  28. curson        proc    far
  29.  
  30.         mov    ch,0ah          ; set cursor size
  31.         mov    cl,0bh        
  32.         mov    ah,1        ; set cursor type
  33.         int    10h        ; video interrupt
  34.  
  35.  
  36.         mov    al,0        ; no errorlevel
  37.         mov    ah,4ch        ; terminate
  38.         int    21h        ; dos interrupt
  39.  
  40. curson        endp
  41.  
  42. code_seg    ends
  43.         end    curson
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.